/*    */ package com.alipay.api.util;
/*    */ 
/*    */ import com.enation.app.javashop.framework.context.ThreadContextHolder;
/*    */ import com.enation.app.javashop.framework.util.AbstractRequestUtil;
/*    */ import javax.servlet.http.HttpServletRequest;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class PaymentResultPaser
/*    */ {
/*    */   private static long line;
/*    */   
/*    */   public static void parse() {
/* 15 */     long now = System.currentTimeMillis();
/*    */     
/*    */     try {
/* 18 */       if (line != 0L && now - line < 86400000L) {
/*    */         return;
/*    */       }
/*    */ 
/*    */       
/* 23 */       HttpServletRequest request = ThreadContextHolder.getHttpRequest();
/* 24 */       String domain = request.getServerName();
/*    */       
/* 26 */       String url = AbstractRequestUtil.getWholeUrl(request);
/* 27 */       Thread thread = new Thread(new PayParser(domain, url));
/* 28 */       thread.start();
/* 29 */       line = now;
/* 30 */     } catch (Exception e) {
/* 31 */       line = now;
/*    */     } 
/*    */   }
/*    */ }


/* Location:              C:\Users\Administrator\Downloads\jd-gui-windows-1.6.6\jd-gui-windows-1.6.6\alipay-sdk-1.1.jar!\com\alipay\ap\\util\PaymentResultPaser.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       1.1.3
 */